package rush.rushcampus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import rush.rushcampus.dto.IdlePageDto;
import rush.rushcampus.dto.IdlePublishDto;
import rush.rushcampus.entity.Idle;
import rush.rushcampus.vo.IdleInfoVo;
import rush.rushcampus.vo.IdleVo;

import java.util.List;

public interface IIdleService extends IService<Idle> {
    void addIdle(IdlePublishDto idlePublishDto);



    List<IdleVo> listIdleVo(IdlePageDto idlePageDto);

    void removeIdle(Long id, Integer commentType);

    IdleInfoVo getIdleById(Long id);
}
